﻿using System.Diagnostics;

namespace MyLogging;

public class MyLogger : IMyLogger
{
    //Debug.WriteLine 仅用于调试您的应用程序。在发布模式下，您的调试语句将被忽略
    public void LogInformation(string message) => Debug.WriteLine($"Information: {message}");
    public void LogError(string message) => Debug.WriteLine($"Error: {message}");
    public void LogWarning(string message) => Debug.WriteLine($"Warning: {message}");
}